package tech.aichan.AiQA.model.dto.item;

import jakarta.validation.constraints.Min;
import lombok.Data;

/**
 * @author mengyu
 * @date 2024/03/03 10:11
 */
@Data
public class ItemQueryRequest {

    private String all;
    @Min(value = 0,message = "page must >= 0")
    private Integer page;
    @Min(value = 1,message = "size must >= 1")
    private Integer size;
    private Boolean priceAsc;
    private Boolean dateAsc;
}
